* {
  box-sizing: border-box;
}

/* To put footer on the bottom */
html {
  min-height: 100%;
  font-size: 62%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
@media (max-width: 800px) {
  html {
    font-size: 45%;
  }
}
@media (max-width: 500px) {
  html {
    font-size: 40%;
  }
}
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-family);
  font-family: sans-serif;
  background-color: #19772b;
}
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: rgb(221, 221, 221);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #02c449;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #19772b;
}

.Navbar {
  display: flex;
  width: 100vw;
  justify-content: space-between; /* Putting each item spaced evenly */
  align-items: center; /* Aligning to the center */
  background-color: #19772b;
  color: white;
  padding: 1rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  box-shadow: -2px 11px 19px -11px rgba(0, 0, 0, 0.47);
}

.title {
  margin: 0.5rem;
  padding: 2vh 1vw;
  text-align: center;
}

.title a {
  text-decoration: none;
  margin: 0 0.7vw;
  margin-left: 2rem;
  font-size: 3rem;
  color: white;
  font-weight: lighter;
}

.title:hover a {
  color: #02c449;
  cursor: pointer;
}
/* Nav Links Setting width using viewport-width for responsiveness */
.Navbar-links ul {
  margin: 0;
  padding: 0;
  display: flex;
  margin-right: 8rem;
  align-items: center;
  text-transform: uppercase;
}
/* Removing link style */
.Navbar-links li {
  list-style: none;
  position: relative;
}
/* Removing underline and setting text color */
.Navbar-links a {
  text-decoration: none;
  margin: 0 2rem;
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
}
/* Hover effect */
.Navbar-links a:hover {
  color: #02c449;
}
/* Firstly setting the start point of animated underline */
.Navbar-links .link::before {
  content: "";
  display: block;
  height: 3px;
  width: 0%;
  position: absolute;
  top: 18px;
  left: 5px;
  background-color: #02c449;

  transition: all ease-in-out 250ms;
  margin: 0 0 0 10%;
}
/* When hovered making it bigger  */
.Navbar-links .link:hover::before {
  width: 70%;
}

.hamburger {
  display: none;
}
/* Making each lines of hamburger icon separeted by 5px margin */
.hamburger div {
  width: 30px;
  height: 3px;
  background: white;
  color: white;
  margin: 5px;
  transition: all 0.3s ease;
}
/* For the cool cross animation */
.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
  transition: all 0.7s ease;
  width: 0;
}
.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 800px) {
  /* Setting position to relative so it doesn't overlap with the content and making flex direction to column */
  .Navbar {
    z-index: 3;
    flex-direction: column;
  }
  .title {
    margin-left: auto;
    margin-right: auto;
  }
  .title a {
    margin-left: auto;
  }
  /* Showing the hamburger icon */
  .hamburger {
    display: block;
    position: absolute;
    cursor: pointer;
    right: 5%;
    top: 50%;
    transform: translate(-5%, -50%); /*aligning it*/
    z-index: 4;
    transition: all 0.7s ease;
  }
  /* Navbar links won't show till we click hamburger icon */
  .Navbar-links {
    display: none;
  }
  /* Making the Navbar a column */
  .Navbar-links ul {
    width: 100%;
    flex-direction: column;
    margin-right: 0;
  }
  /* Aligning links to center */
  .Navbar-links li {
    padding: 10px;
    text-align: center;
  }
  .Navbar-links .link::before {
    position: relative;
    top: 18px;
    left: -13px;
  }
  .Navbar-links .link:hover::before {
    width: 90%;
  }
  /* Aligning login button */
  .login-button {
    margin: 0;
  }
  /* This will show the Nav bar items */
  .Navbar-links.open {
    display: flex;
  }
}

footer {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  width: 100%;
  background-color: #19772b;
}

.mainfooter {
  background-color: #19772b;
  width: 100%;
  padding: 1rem 0;
  color: white;
}

.content {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}
.content-list {
  display: flex;
  flex-direction: column;
}
.footer-link {
  font-size: 1.5rem;
  cursor: pointer;
  color: #dbdbdb;
  margin: 0.5rem 0;
  text-decoration: none;
}
.footer-link:hover {
  color: white;
}
.fas {
  color: #02c449;
  margin-right: 5px;
}
@media (max-width: 500px) {
  .content {
    flex-direction: column;
    margin-left: 5rem;
  }
}

.trade-mark {
  color: white;
  text-align: center;
  font-size: 1.7rem;
  padding: 2rem 0;
}
